<%--
  Created by IntelliJ IDEA.
  User: W
  Date: 2021/11/22
  Time: 19:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <title>Title</title>
    </head>
    <body>
        <form action="${pageContext.request.contextPath}/img/upload" enctype="multipart/form-data" method="post">
            <table>
                <tr>
                    <td>请选择文件：</td>
                    <td><input type="file" name="file"></td>
                </tr>
                <tr>
                    <td>开始上传</td>
                    <td><input type="submit" value="上传"></td>
                </tr>
            </table>
        </form>
        <br/>
        <hr/>
        <form action="${pageContext.request.contextPath}/order/post" method="post">
            recvInfo.id<input value="2" name="recvInfo.id">
            foods[0].food.id<input value="1" name="foods[0].food.id">
            foods[0].num<input value="2" name="foods[0].num">
            userId<input value="12" name="userId">
            <%--            foods[1].food.id<input value="1" name="foods[1].food.id">--%>
<%--            foods[1].num<input value="1" name="foods[1].num">--%>
            <input type="submit">
        </form>
    </body>
</html>
